package com.client.model.vo.deposit;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.client.model.pojo.bank.Record;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 周佳辉
 * @date 2024/4/11
 */
@Data
public class RecordVo {
    /**
     * 交易记录表
     */
    @TableId(value = "rid")
    private Long rid;

    /**
     * 转账发起人、交易发起卡
     */
    @TableField(value = "main_card")
    private String mainCard;

    /**
     * 转账接收人
     */
    @TableField(value = "to_card")
    private String toCard;

    /**
     * 交易金额
     */
    @TableField(value = "balance")
    private BigDecimal balance;

    /**
     * 操作类型 0:转账记录  1、充值记录  2:提现记录 3:基金理财  4:信用卡还款 5:贷款还款
     */
    @TableField(value = "operator_status")
    private Integer operatorStatus;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     *
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 冗余字段
     */
    @TableField(value = "remark")
    private Integer remark;

    List<Record> recordVoList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
